<?php
namespace app\common\model;

use think\Model;
use think\model\concern\SoftDelete;

class Video extends Model
{
    use SoftDelete;

    public function cate()
    {
        return $this->hasOne(VideoCate::class,"id","cate_id");
    }

    public function con()
    {
        return $this->hasOne(Content::class,"id","contentid");
    }

}
